package com.nw.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;
import java.util.List;

@Table(name = "nw_cargo")
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Cargo {


  private String cargoId;

  private String cargoName;

  private Double cargoPrice;

  private String cargoPic;

  private String cargoDescription;

  private Integer cargoSaled;

  private Integer cargoRemain;

  private String parentId;

  //一级类别
  private String categoryNameLevel1;
  //二级类别
  private String categoryNameLevel2;

  private String likeStatus;


  List<Comment> commentList;
}
